function bg = ColorVertices(vertices, bg, highlightColor)

if (nargin < 3)
    highlightColor = [1 0 0];
end

try
    set(bg.nodes(vertices),'Color',highlightColor);
catch ex
    warning(ex.message)
end